package com.dyh.quickdemozwei.compObj.comp;

public class DomainOutputCompose<T> implements OutputCompose {

    public static <T> DomainOutputCompose<T> from(T t){
        DomainOutputCompose<T> res = new DomainOutputCompose<>();
        res.setData(t);
        return res;
    }

    T data;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
